﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EnvCommonUtility
{
    /// <summary>
    /// 叶子结点状态
    /// </summary>
    public enum LeafStatusEnum
    {
        /// <summary>
        /// 正在使用：网络正常，且运行客户端程序
        /// </summary>
        [Display(Name = "LeafOK", Description = "正在使用：网络正常，且运行客户端程序")]
        LeafOK,

        /// <summary>
        /// 停止使用：网络正常，客户端程序未运行
        /// </summary>
        [Display(Name = "LeafConnection", Description = "停止使用：网络正常，客户端程序未运行")]
        LeafConnection,

        /// <summary>
        /// 断开连接：网络断开
        /// </summary>
        [Display(Name = "LeafDisconnection", Description = "断开连接：网络断开")]
        LeafDisconnection,

        /// <summary>
        /// 错误IP：IP地址错误
        /// </summary>
        [Display(Name = "LeafWrong", Description = "错误IP：IP地址错误")]
        LeafWrong,
    }
}
